@layout("/common/_form.html",{js:["/assets/modular/rw/brankBannerOne/brankBannerOne_add.js", "/assets/common/libs/wangEditor/wangEditor.js"]}){
<style>
    .showImage{ margin-top:15px;}
    .showImage img{ max-height: 300px; max-width: 100%;}
</style>
<form class="layui-form" id="brankBannerOneForm" lay-filter="brankBannerOneForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">品牌理念区块一信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input id="brankBannerOneId" name="id" value="${brankBannerOneId}" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">图一<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="hidden" id="oneImageId" name="oneImageId" class="layui-input">
                            <button type="button" class="layui-btn layui-btn" id="oneImageBtn"><i class="fa fa-plus"></i> 选择图片</button>
                            <div id="showOneImage" class="showImage"></div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">图二<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="hidden" id="twoImageId" name="twoImageId" class="layui-input">
                            <button type="button" class="layui-btn layui-btn" id="twoImageBtn"><i class="fa fa-plus"></i> 选择图片</button>
                            <div id="showTwoImage" class="showImage"></div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">标题</label>
                        <div class="layui-input-block">
                            <input name="title" placeholder="请输入标题" type="text" class="layui-input" lay-verify="required" lay-reqtext="标题不能为空"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">内容</label>
                        <div class="layui-input-block">
                            <div id="editorContent"></div>
                            <input type="hidden" id="content" name="content">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>
</form>
@}
